﻿using GraphQL.Types;
using GraphQLSample.Domain.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace GraphQLSample.Domain.Schema
{
    public class SexEnumType
        : EnumerationGraphType<SexEnum>
    {
        public SexEnumType()
        {
            Name = nameof(SexEnum);
            Description = "";

            AddValue(SexEnum.Male.ToString(),SexEnum.Male.ToString(),SexEnum.Male);
            AddValue(SexEnum.Female.ToString(), SexEnum.Female.ToString(), SexEnum.Female);
        }
    }
}
